<meta name="content-type" content="text/html; charset=UTF-8">
<link rel="stylesheet" type="text/css" href="${viewPath}/resources/css/hyxq.css" />
<!--#var(Member member)-->
<ul id="mitu_tab" class="nav nav-tabs nav-justified">
	<li id="mitl_Detail"><a
		href="yueyogaAdmin/toMemberDetail.jhtml?id=${member.memberid}">个人信息</a></li>
	<li id="mitl_MarketingSource"><a
		href="yueyogaAdmin/toMemberMarketingSource.jhtml?id=${member.memberid}">信息来源</a></li>
	<li id="mitl_Test"><a
		href="yueyogaAdmin/toMemberTest.jhtml?id=${member.memberid}">体能测试</a></li>
	<li id="mitl_LiftClub"><a
		href="yueyogaAdmin/toMemberLiftClub.jhtml?id=${member.memberid}">活动</a></li>
	<li id="mitl_Product"><a
		href="yueyogaAdmin/toMemberProduct.jhtml?memberId=${member.memberid}">产品</a></li>
	<li id="mitl_Goods"><a
		href="yueyogaAdmin/toMemberGoods.jhtml?id=${member.memberid}">商品</a></li>
	<li id="mitl_Contact"><a
		href="yueyogaAdmin/toMemberContact.jhtml?id=${member.memberid}">跟踪记录</a></li>
	<li id="mitl_Task"><a
		href="yueyogaAdmin/toMemberTask.jhtml?id=${member.memberid}">任务</a></li>
	<li id="mitl_Recharge"><a
		href="yueyogaAdmin/toMemberRecharge.jhtml?memberId=${member.memberid}">账户</a></li>
</ul>
<script>
	$(function() {
		var url = window.location.href;
		var memberTab = url.split("toMember");
		if (memberTab.length > 1) {
			var tab_mark = memberTab[1].split(".")[0];
			$("#mitu_tab li").each(function(i) {
				var cur_li = $(this).attr("id").split("_")[1];
				if (tab_mark == cur_li) {
					$(this).addClass("active");
				}
			});
		}
		
		if(url.split('toBuyGoods').length > 1){
			$("#mitl_Goods").addClass("active");
		}
	});
</script>